package cheme.ProcessEditor.Policies;

import org.eclipse.gef.Request;
import org.eclipse.gef.commands.Command;

import cheme.ProcessEditor.Parts.Streams.Tag.PolicyTagComponent;

public class OverallStreamDescPolicy extends PolicyTagComponent
{
	@Override
	public Command getCommand(Request request)
	{
		if (REQ_DELETE.equals(request.getType()))
		{
			/*
			 * Dissallow deleting an overall COmponent.
			 */
			return null;
		}
		
		return super.getCommand(request);
	}
}
